package cn.openea.perpartner.payment.web.coupon.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.math.BigDecimal;

/**
 * @author Weird077
 * @description TODO
 * @date 2023-04-14 19:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class CouponDto {
    @ApiModelProperty(value = "优惠券名称")
    private String couponName;
    @ApiModelProperty(value = "优惠券金额")
    private BigDecimal couponAmount;
    @ApiModelProperty(value = "使用门槛")
    private String useThresholds;
    @ApiModelProperty(value = "时效")
    private Integer aging;
    @ApiModelProperty(value = "领取时间")
    private String createTime;
    @ApiModelProperty(value = "有效时间")
    private String validateTime;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "用户昵称")
    private String nickName;
    @ApiModelProperty(value = "优惠券id")
    private Long couponId;
    @ApiModelProperty(value = "批次id")
    private Long batchId;
    @ApiModelProperty(value = "优惠券类型",example="0",notes = "0：立减，1：满减，2：折扣")
    private String couponType;
    @ApiModelProperty(value = "ALL",example = "ALL",notes = "ALL:全场通用,指定商品:商品id,指定分类:SUMMER")
    private String useScope;
    @ApiModelProperty(value = " 优惠券状态",example="0",notes = "0：未使用；1：已使用；2：已过期")
    private String status;
    @ApiModelProperty(value = "用户优惠券id")
    private Long id;
}
